const fs = require('fs');

fs.writeFile('C:/test.js', '  ', (err, data) => {
    if(err) {
        console.log(err.path);
    }
    
})